package com.ruoyi.system.domain;

import java.time.LocalDateTime;

public class TenantInfo {
    private Long id;
    private Long houseId;
    private String tenantName;
    private String phone;
    private String idCard;
    private LocalDateTime reserveTime;

    public TenantInfo() {
    }

    public TenantInfo(Long id, Long houseId, String tenantName, String phone, String idCard, LocalDateTime reserveTime) {
        this.id = id;
        this.houseId = houseId;
        this.tenantName = tenantName;
        this.phone = phone;
        this.idCard = idCard;
        this.reserveTime = reserveTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getHouseId() {
        return houseId;
    }

    public void setHouseId(Long houseId) {
        this.houseId = houseId;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public LocalDateTime getReserveTime() {
        return reserveTime;
    }

    public void setReserveTime(LocalDateTime reserveTime) {
        this.reserveTime = reserveTime;
    }

    @Override
    public String toString() {
        return "TenantInfo{" +
                "id=" + id +
                ", houseId=" + houseId +
                ", tenantName='" + tenantName + '\'' +
                ", phone='" + phone + '\'' +
                ", idCard='" + idCard + '\'' +
                ", reserveTime=" + reserveTime +
                '}';
    }
}
